Monitoring Temporal Rules Combined with Time Series

نویسنده

  • Doron Drusinsky
چکیده

Run-time monitoring of temporal properties and assertions is used for testing and as a component of execution-based model checking techniques. Traditional run-time monitoring however, is limited to observing sequences of pure Boolean propositions. This paper describes tools, which observe temporal properties over time series, namely, sequences of propositions with constraints on data value changes over time. Using such temporal logic with time series (LTLD) it is possible to monitor important properties such as stability, monotonicity, temporal average and sum values, and temporal min/max values. The paper describes the Temporal Rover and the DBRover, which are in-process and remote run-time monitoring tools, respectively, that support linear time temporal logic (LTL) with real-time (MTL) and time series (LTLD) constraints. 1. Temporal Logic and Run-time Monitoring Overview Temporal Logic is a special branch of modal logic that investigates the notion of time and order. In [6], Pnueli suggested using Linear-Time Propositional Temporal Logic (LTL) for reasoning about concurrent programs. Since then, several researchers have used LTL to state and prove correctness of concurrent programs, protocols, and hardware. Linear-Time Temporal Logic (LTL) is an extension of propositional logic where, in addition to the propositional logic operators there are four future-time operators and four dual past time operators: always in the future (always in the past), eventually, or sometime in the future (sometime in the past), until (Since), and next cycle (previous cycle). Metric Temporal Logic (MTL) was suggested by Chang, Pnueli, and Manna as a vehicle for the verification of real time systems [1]. MTL extends LTL by supporting the specification of relative time and real time constraints. All four LTL future time operators can be constrained by relative time and real time constraints specifying the duration of the temporal operator. This paper described additional extension to LTL and MTL suitable for the specification of time-series constraints. Run time Execution Monitoring (REM) is a class of methods of tracking temporal requirements for an underlying application. First applications of REM were verification oriented where REM methods were used to track whether an executing system conforms to formal specification requirements. Recent adaptations of REM methods enable run time monitoring for non-verification purposes such as temporal business rule checking and temporal security rule checking [5]. Unlike previously published methods [7], the newer methods are on-line, namely, temporal rules are evaluated without storing an ever growing and potentially unbounded history trace. The TemporalRover and DBRover tools described in this paper perform on-line REM using executable alternating finite automata. The technique enables on-line monitoring complex Kansas State Specification Pattern assertions at a rate of 6000 to 60,000 cycles per second on a 1GHz CPU [4], and is capable of monitoring past-time and future-time temporal logic augmented with real-time constraints, time-series constraints, and special counting operators described in [2]. High-speed on-line REM enables demanding applications such as formal specification based exception handling [3]. 2. Run Time Monitoring Tools: The Temporal Rover and DBRover The Temporal Rover [2] is a code generator whose input is a Java, C, C++, or HDL source code program, where LTL/MTL assertions are embedded as source code comments. The Temporal Rover parser converts this program file into a new file, which is identical to the original file except for the assertions that are now implemented in source code. The following example contains an embedded MTL assertion for a Traffic Light Controller (TLC) written using the Temporal Rover syntax asserting that for 100 milliseconds, whenever light is red, camera s.b. on: void tlc(int Color_Main, boolean CameraOn) { ... /* Traffic Light Controller functionality */ /* TRBegin TRClock{C1=getTimeInMillis()} // get time from OS TRAssert{ Always({Color_Main == RED} Implies Eventually_C1<1000_{CameraOn == 1}) } => // Customizable user actions {printf("SUCCESS");printf("FAIL");printf("DONE!");}

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Monitoring Temporal Logic Specifications Combined with Time Series Constraints

Run-time monitoring of temporal properties and assertions is used for testing and as a component of execution-based model checking techniques. Traditional run-time monitoring however, is limited to observing sequences of pure Boolean propositions. This paper describes tools for observing temporal properties over time series; namely, sequences of propositions with constraints on data value chang...

متن کامل

A Proposal for Fuzzy Rule Generation Using Temporal Reasoning

Knowledge acquisition is difficult, especially when the domain knowledge is not structured. In this paper a framework based on machine learning is proposed in order to generate a rule-base for signal analysis in the case of anesthesia monitoring. During surgery, clinical parameters are measured. From training samples, rules for a knowledge-based system can be learned that describe alarm situati...

متن کامل

Temporal association rules mining: a heuristic methodology applied to Time Series Databases (TSDBs)

This paper shows and describes a heuristic methodology applied to Time Series Databases (TSDBs) by approaching Temporal Data Mining (TDM). The methodology focuses on temporal association rules from multiple time series which could be captured from many applications and processes (industrial processes, financial assets, environment variables, demographic series, etc). This heuristic methodology ...

متن کامل

Multi-temporal Sar Change Detection and Monitoring

Multitemporal SAR images are a very useful source of information for a large amount of applications, especially for change detection and monitoring. In this paper, a new SAR change detection and monitoring approach is proposed through the analysis of a time series of SAR images covering the same region. The first step of the method is the SAR filtering preprocessing step using an extension of t...

متن کامل

Forest Disturbance Mapping Using Dense Synthetic Landsat/MODIS Time-Series and Permutation-Based Disturbance Index Detection

Spatio-temporal information on process-based forest loss is essential for a wide range of applications. Despite remote sensing being the only feasible means of monitoring forest change at regional or greater scales, there is no retrospectively available remote sensor that meets the demand of monitoring forests with the required spatial detail and guaranteed high temporal frequency. As an altern...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003